package com.lovo.psc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("psc_order")
public class PscOrder extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PK_orderId", type = IdType.AUTO)
    @ApiModelProperty(value = "供货单id")
    private Integer pkOrderid;

    @ApiModelProperty(value = "供应商编号")
    private Integer fkuserorderId;

    @TableField("orderNumber")
    @ApiModelProperty(value = "订单编号")
    private String ordernumber;

    @TableField("commodityName")
    @ApiModelProperty(value = "商品名称")
    private String commodityname;

    @TableField("commodityNum")
    @ApiModelProperty(value = "商品数量")
    private Integer commoditynum;

    @TableField("commoditySIze")
    @ApiModelProperty(value = "商品规格")
    private String commoditysize;

    @TableField("commoditySort")
    @ApiModelProperty(value = "商品类别")
    private String commoditysort;

    @TableField("commodityPrice")
    @ApiModelProperty(value = "商品单价")
    private Integer commodityprice;

    @TableField("ShippingAddress")
    @ApiModelProperty(value = "发货地址")
    private String shippingaddress;

    @TableField("collectAddress")
    @ApiModelProperty(value = "收货地址")
    private String collectAddress;

    @ApiModelProperty(value = "供货订单状态")
    private String state;


}
